@import 'var.less';

.list{
	padding:0 15px 15px 15px;
	.mt15{margin-top: 15px;}
	.table-content{position: relative;}

	.search{
		position: relative;background: #fff;padding: 10px 100px 0px 10px;border:1px solid @border-color-base;border-top:0;

		.search-btn{position: absolute;right: 10px;top:11px;width: 80px;}
		.tigger{
			position: absolute;right: 0px;top:11px;display: none;
			.ivu-icon{margin-left: 5px;font-size: 14px}
		}

		.ivu-form-item,.ivu-date-picker {width: 100%;}
		.ivu-row .ivu-form-item{margin-bottom: 10px;}

		&.hasrow{
			padding-right: 180px;
			.search-btn{right: 90px;}
			.tigger{display: inline-block;}
			&.off .ivu-row:not(:first-of-type){display: none;}
		}


		// 小屏幕隐藏日期框的图标
		@media (max-width: 1366px) {
			.date-range-group .ivu-input-wrapper{
				.ivu-input-icon-normal{
					display: none;
				}
				.ivu-input-icon-normal + .ivu-input {
					padding-right: 7px;
				}
			}
		}
	}
	.ivu-breadcrumb{
		height: 32px;line-height: 32px;background:@border-color-base;padding: 0 10px;
		.mt15;
		.ivu-breadcrumb-item-separator,.ivu-breadcrumb-item-link{
			color:@text-color;vertical-align: top;font-size: 12px;
		}
	}
	.table{
		.mt15;
		.action{
			li{
				display: inline-block;cursor: pointer;margin-left:5px;text-decoration:underline;
				&:hover{color:@primary-color;}
			}
		}
	}

	.ivu-page{
		.mt15;
		text-align: right;
		.ivu-page-total{
			float: left;
		}
	}

	.schedule{
		float: left;
		// position: absolute;left: 5px;
		width: 20px;height: 20px;text-align: center;border-radius: 50%;
		font-size: 12px;color: #ffffff;font-style: normal;line-height: 20px;
		&.first,&.last{background-color: #000000;}
		&.temp{background-color: #ff9800;}
	}

	.main{
		margin-top: 15px;
	}
	.ivu-tabs.ivu-tabs-card .ivu-tabs-bar{
		margin:0;
		.ivu-tabs-tab{background: #fff;}
		.ivu-tabs-tab-active{border-top: 1px solid @primary-color;}
		.ivu-tabs-tab-active:before{
			content: '';display: block;width: 100%;height: 1px;background: @primary-color;
			position: absolute;top: 0;left: 0;
		}
	}
	.ivu-tabs.ivu-tabs-card .ivu-tabs-tabpane{border:1px solid @border-color-base;border-top: 0;}
	.ivu-tabs-tabpane{background: #fff;padding: 10px;position: relative;}
}

.list.table-content {
	padding: 0;
	.table{
		margin-top: 0;
	}
}
